# print('+--+--+--+')
# print('|  |  |  |')
# print('+--+--+--+')
# print('|  |  |  |')
# print('+--+--+--+')
# print('|  |  |  |')
# print('+--+--+--+')
def draw():
    print('+--+--+--+')
    print('|  |  |  |')

draw()
draw()
draw()
print('+--+--+--+')
